﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QH.JobBack.Model
{
    public class UserInfo
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public UserInfo()
        {
            this.BlackList = new HashSet<Blacklist>();
            this.CollectPost = new HashSet<CollectPost>();
            this.ResumeInfo = new HashSet<ResumeInfo>();
        }
        [System.ComponentModel.DataAnnotations.Key]
        public int UserId { get; set; }
        public string UserName { get; set; }
        public string UserPwd { get; set; }
        public string RealName { get; set; }
        public Nullable<bool> Sex { get; set; }
        public string Email { get; set; }
        public Nullable<short> Education { get; set; }
        public Nullable<short> WorkExperien { get; set; }
        public string Phone { get; set; }
        public string QQ { get; set; }
        public string SinaMicroblog { get; set; }
        public string Status { get; set; }
        public string TouXiang { get; set; }


        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Blacklist> BlackList { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<CollectPost> CollectPost { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<ResumeInfo> ResumeInfo { get; set; }

    }
}
